﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BE
{
	public class Edge
	{
		public int ID { get; set; }
		public string Name { get; set; }
		public string Direction { get; set; }
		public int L1 { get; set; }
		public int L2 { get; set; }
		public bool Straight { get; set; }
		public int Weight { get; set; }

		public Edge( int cid, string cname, string cdirection, int cl1, int cl2,  bool cstraight, int cweight )
		{
			ID = cid;
			Name = cname;
			Direction = cdirection;
			L1 = cl1;
			L2 = cl2;
			Straight = cstraight;
			Weight = cweight;
		}

		public Edge( string cname, string cdirection, int cl1, int cl2,  bool cstraight, int cweight )
		{
			Name = cname;
			Direction = cdirection;
			L1 = cl1;
			L2 = cl2;
			Straight = cstraight;
			Weight = cweight;
		}

        public Edge(int id, string cname)
        {
            ID = id;
            Name = cname;
        }

		public Edge() { }
	}
}
